#define _CRT_SECURE_NO_WARNINGS

#include "string.h"


namespace BLZ
{
	size_t string::size() const
	{
		return _size;
	}
	const char* string::c_str() const
	{
		return _str;
	}
	char& string::operator[] (size_t i)
	{
		assert(i < _size);
		return _str[i];
	}
	const char& string::operator[](size_t i) const
	{
		assert(i < _size);
		return _str[i];
	}
	string::iterator string::begin()
	{
		return _str;
	}
	string::iterator string::end()
	{
		return _str + _size;
	}
	string::const_iterator string::begin() const
	{
		return _str;
	}
	string::const_iterator string::end() const
	{
		return _str + _size;
	}
	void string::reserve(size_t n)
	{
		
	}
}